- 
		Home
	
- 
Pods – Custom Content Types and Fields
- 
2.8.21
- 
Code
- 
Classes
-  Base 
		
			
				
					
													
								
																			
											| Total Complexity | 82 | 
																			
											| Dependencies | 5 | 
																			
											| Dependents | 0 | 
																	
							 
													
								
																			
											| Total lines | 582 | 
																			
											| Lines of code | 288 | 
																			
											| Logical lines of code | 155 | 
																	
							 
													
								
																			
											| Comment lines | 185 | 
																			
											| Methods | 17 | 
																			
											| Properties | 5 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 17
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| add_commands() | B | 42 | 17 | 58 | 
					
				| validate_arg() | A | 44 | 15 | 45 | 
					
				| run_endpoint_method() | A | 40 | 13 | 58 | 
					
				| validate_args() | A | 48 | 11 | 35 | 
					
				| build_command_args() | A | 49 | 10 | 31 | 
					
				| get_rest_args() | S | 54 | 4 | 22 | 
					
				| json_or_args() | S | 68 | 2 | 7 | 
					
				| hook() | S | 76 | 1 | 4 | 
					
				| list_items() | S | 78 | 1 | 3 | 
					
				| add() | S | 78 | 1 | 3 | 
					
				| get() | S | 78 | 1 | 3 | 
					
				| get_by_slug() | S | 78 | 1 | 3 | 
					
				| update() | S | 78 | 1 | 3 | 
					
				| update_by_slug() | S | 78 | 1 | 3 | 
					
				| delete() | S | 78 | 1 | 3 | 
					
				| delete_by_slug() | S | 78 | 1 | 3 | 
					
				| output_error_response() | S | 75 | 1 | 4 |